package com.zbf.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 作者: LCG
 * 日期: 2020/6/5 10:50
 * 描述:菜单的API接口
 */

@FeignClient(name = "zbf-auth-server",fallback = MenuApiException.class)
public interface MenuApi {

    @RequestMapping("/auth/getAllMenu")
    public String getAllMenus();

}
